/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sevenpriciples.crp.crp.violation.impl;

import za.ac.cput.sevenpriciples.crp.crp.violation.EmployeeImpl;

/**
 *
 * @author 210227257
 */
public class Temporary extends EmployeeImpl{
    
    public Temporary(String name, String surname, int number, double salary){
        super(name, surname, number, salary);
    }

    public Temporary() {
        
    }
    @Override
    public double calculateBonus() {
        return 0.10 * super.getEmployeeSalary();
    }
    
}
